//
//  ADLocationManager.h
//  Anda_Driver_Pro
//
//  Created by AnDa-Y on 2019/8/2.
//  Copyright © 2019 AnDa-Y. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ADLocationModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol ADLocationManagerDelegate;

@interface ADLocationManager : NSObject

+ (ADLocationModel *)currentLocationModel;

+ (void)addDelegate:(id<ADLocationManagerDelegate>)delegate;
+ (void)removeDelegate:(id<ADLocationManagerDelegate>)delegate;

@end

@protocol ADLocationManagerDelegate <NSObject>

- (void)locationManagerLocationUpdate:(ADLocationModel *)locationModel;

@end

NS_ASSUME_NONNULL_END
